package com.ruoyi.stock.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.stock.domain.StockSector;

/**
 * 股票板块Mapper接口
 * 
 * @author lzl
 * @date 2025-11-05
 */
public interface StockSectorMapper extends BaseMapper<StockSector>
{
    /**
     * 查询股票板块
     * 
     * @param id 股票板块主键
     * @return 股票板块
     */
    public StockSector selectStockSectorById(Long id);

    /**
     * 查询股票板块列表
     * 
     * @param stockSector 股票板块
     * @return 股票板块集合
     */
    public List<StockSector> selectStockSectorList(StockSector stockSector);

    /**
     * 新增股票板块
     * 
     * @param stockSector 股票板块
     * @return 结果
     */
    public int insertStockSector(StockSector stockSector);

    /**
     * 修改股票板块
     * 
     * @param stockSector 股票板块
     * @return 结果
     */
    public int updateStockSector(StockSector stockSector);

    /**
     * 删除股票板块
     * 
     * @param id 股票板块主键
     * @return 结果
     */
    public int deleteStockSectorById(Long id);

    /**
     * 批量删除股票板块
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStockSectorByIds(String[] ids);
}
